package com.hll.javaweb.servlet.dispatcher;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author hll
 * @create 2022-05-10 12:32
 */
@WebServlet("/hello-dis-02")
public class HelloDispatcher_02 extends HttpServlet {
  @Override
  protected void doGet(HttpServletRequest req, HttpServletResponse resp) {
    System.out.println("*************这里是dis-02");
    System.out.println(req.getParameter("username"));
    System.out.println(req.getAttribute("dis1"));
  }
}
